/*
 * ConfigurationHandler.h
 *
 *  Created on: Mar 28, 2012
 *      Author: chk052
 */

#ifndef CONFIGURATIONHANDLER_H_
#define CONFIGURATIONHANDLER_H_

// Arbitrarily selected number.
#define MAX_LENGT_OF_VARIABLE 45
#define MAX_NUMBER_OF_VARIABLES 20

#define HELP_VARIABLE_NAME "help"
#define VERSION_VARIABLE_NAME "version"

int ConfigurationHandlerInitialization(int nArgumentCount,  char **pArguments);

int ConfigurationVariableSetBooleanTrue(const char *szVariableName);
int ConfigurationVariableExist(const char *szVariableName);
//int ConfigurationVariableGetInteger(szVariableName, int *pStorage);


// Private functions.
int ConfigurationVariableClearHash();
int ConfigurationVariableGetUnusedEntry();
int ConfigurationVariableLookUpName(const char *szVariableName);
int IsValidVariableName(const char *szVariableName);
#endif /* CONFIGURATIONHANDLER_H_ */
